package com.wt.admin.service.file;

import com.aizuda.easy.security.exp.impl.BasicException;
import org.springframework.web.multipart.MultipartFile;
import jakarta.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;


public interface FileService {

    String uploadLocal(MultipartFile file,String path, HttpServletRequest httpServletRequest) throws IOException;
    String uploadStrategy(MultipartFile file,String path, HttpServletRequest httpServletRequest) throws IOException, BasicException;

    List<String> uploadLocalBatch(MultipartFile[] file, String path, HttpServletRequest httpServletRequest);
    List<String> uploadStrategyBatch(MultipartFile[] file, String path, HttpServletRequest httpServletRequest);
}
